-- GENERATED SPELL FOR [Daggermaw Blackhide] --


function spell0_22052(pUnit, Event) --@Gushing Wound,n/a--
pUnit:FullCastSpellOnTarget(35321,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22052', 25000, 1)
end

function Sorts_22052(pUnit, Event)
local choix_sorts_22052 = math.random(0, 0)
if choix_sorts_22052 == 0 then
pUnit:RegisterEvent('spell0_22052', 1, 1)
end
end

function mob22052_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22052', math.random(1500, 3000), 1)
end

function mob22052_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22052_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22052_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22052, 1, 'mob22052_Action')
RegisterUnitEvent(22052, 2, 'mob22052_Leave')
RegisterUnitEvent(22052, 3, 'mob22052_Kill')
RegisterUnitEvent(22052, 4, 'mob22052_Die')
